package hardware;


public class ReservationStation {
	private Instruction ins;
	private boolean full;
	private boolean reserve;
	private boolean qA;
	private boolean qB;
	private int operandOne;
	private int operandTwo;
	
	
	public ReservationStation() {
	}
	
	public String toString() {
		return "Instruction: " + ins.getID() + " full: " + true + " First operand: " +
		operandOne + " Second Operand " + operandTwo + "\n";
	}


	public Instruction getIns() {
		return ins;
	}


	public void setIns(Instruction ins) {
		this.ins = ins;
	}


	public boolean isqA() {
		return qA;
	}


	public void setqA(boolean qA) {
		this.qA = qA;
	}


	public boolean isqB() {
		return qB;
	}


	public void setqB(boolean qB) {
		this.qB = qB;
	}


	public boolean isFull() {
		return full;
	}


	public void setFull(boolean full) {
		this.full = full;
	}


	public boolean isReserve() {
		return reserve;
	}


	public void setReserve(boolean reserve) {
		this.reserve = reserve;
	}


	public int getOperandOne() {
		return operandOne;
	}


	public void setOperandOne(int operandOneId) {
		this.operandOne = operandOneId;
	}


	public int getOperandTwo() {
		return operandTwo;
	}


	public void setOperandTwo(int operandTwoId) {
		this.operandTwo = operandTwoId;
	}

	                    
}
